
<script type="text/javascript">
   var a = "qid-1";
   var list =[
      {
         "qid": 1,
         "answer": "C",
         "user_answer": "C",
         "is_right": "0",
         "key_tag": "音形义",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 2,
         "answer": "B",
         "user_answer": "B",
         "is_right": "0",
         "key_tag": "音形义",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 3,
         "answer": "B",
         "user_answer": "B",
         "is_right": "0",
         "key_tag": "音形义",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 4,
         "answer": "C",
         "user_answer": "C",
         "is_right": "0",
         "key_tag": "对话场景",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 5,
         "answer": "B",
         "user_answer": "B",
         "is_right": "0",
         "key_tag": "对话场景",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 6,
         "answer": "C",
         "user_answer": "C",
         "is_right": "0",
         "key_tag": "对话场景",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 7,
         "answer": "B",
         "user_answer": "B",
         "is_right": "0",
         "key_tag": "句子理解",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 8,
         "answer": "C",
         "user_answer": "C",
         "is_right": "0",
         "key_tag": "句子理解",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 9,
         "answer": "A",
         "user_answer": "A",
         "is_right": "0",
         "key_tag": "句子理解",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 10,
         "answer": "C",
         "user_answer": "C",
         "is_right": "0",
         "key_tag": "句子理解",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 11,
         "answer": "B",
         "user_answer": "B",
         "is_right": "0",
         "key_tag": "句子理解",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 12,
         "answer": "tidy",
         "user_answer": "tidy  ",
         "is_right": 0,
         "key_tag": "单词的拼写和形式",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 13,
         "answer": "radio",
         "user_answer": "radio  ",
         "is_right": 0,
         "key_tag": "单词的拼写和形式",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 14,
         "answer": "bookcase",
         "user_answer": "bookcase ",
         "is_right": 0,
         "key_tag": "单词的拼写和形式",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 15,
         "answer": "things",
         "user_answer": "things",
         "is_right": 0,
         "key_tag": "单词的拼写和形式",
         "qtype": "listening",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 16,
         "answer": "daughter",
         "user_answer": "daughter",
         "is_right": 0,
         "key_tag": "单词的义和形",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 17,
         "answer": "about",
         "user_answer": "about",
         "is_right": 0,
         "key_tag": "单词的义和形",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 18,
         "answer": "they",
         "user_answer": "they   ",
         "is_right": 0,
         "key_tag": "单词的义和形",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 19,
         "answer": "classmates",
         "user_answer": "lassmates",
         "is_right": 0,
         "key_tag": "单词的义和形",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 20,
         "answer": "under",
         "user_answer": "under",
         "is_right": 0,
         "key_tag": "单词的义和形",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 1,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 21,
         "answer": "watches;yours",
         "user_answer": "watches;yours",
         "is_right": 0,
         "key_tag": "单词的形，类和用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 22,
         "answer": "his;his",
         "user_answer": "his;his",
         "is_right": 0,
         "key_tag": "单词的形，类和用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 23,
         "answer": "dictionaries;libraries",
         "user_answer": "dictionaries;libraries",
         "is_right": 0,
         "key_tag": "单词的形，类和用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 24,
         "answer": "boys;pencil-boxes",
         "user_answer": "boys;pencil-boxes",
         "is_right": 0,
         "key_tag": "单词的形，类和用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 25,
         "answer": "Is;are",
         "user_answer": "Is;are",
         "is_right": 0,
         "key_tag": "单词的形，类和用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 26,
         "answer": "B",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "冠词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 27,
         "answer": "C",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "人称代词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 28,
         "answer": "A",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "人称代词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 29,
         "answer": "D",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "人称代词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 30,
         "answer": "B",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "介词的固定搭配（固定搭配）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 31,
         "answer": "B",
         "user_answer": "B",
         "is_right": "0",
         "key_tag": "冠词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 32,
         "answer": "C",
         "user_answer": "C",
         "is_right": "0",
         "key_tag": "人称代词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 33,
         "answer": "A",
         "user_answer": "A",
         "is_right": "0",
         "key_tag": "人称代词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 34,
         "answer": "D",
         "user_answer": "D",
         "is_right": "0",
         "key_tag": "人称代词（音形义类用）",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": "2",
         "click_time": "1447663150612"
      },
      {
         "qid": 35,
         "answer": "Your;is",
         "user_answer": "Your;is",
         "is_right": 0,
         "key_tag": "句型",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 36,
         "answer": "that;photo",
         "user_answer": "that;photo",
         "is_right": 0,
         "key_tag": "音形义类用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 37,
         "answer": "are;mine",
         "user_answer": "are;have",
         "is_right": 1,
         "key_tag": "音形义类用",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 1,
         "click_time": "1447663150612"
      },
      {
         "qid": 38,
         "answer": "are;have",
         "user_answer": "are;undefined",
         "is_right": 0,
         "key_tag": "句型",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 39,
         "answer": "have;Does",
         "user_answer": "have;Does",
         "is_right": 0,
         "key_tag": "句型",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 40,
         "answer": "difficult;for",
         "user_answer": "difficult;for",
         "is_right": 0,
         "key_tag": "句型",
         "qtype": "grammar",
         "d_level": 2,
         "qscore": 2,
         "uscore": 2,
         "click_time": "1447663150612"
      },
      {
         "qid": 41,
         "answer": "C",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "细节理解",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 42,
         "answer": "B",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "细节理解",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 43,
         "answer": "C",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "判断词义",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 44,
         "answer": "A",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "细节理解",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 45,
         "answer": "D",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "逻辑推理",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 46,
         "answer": "A",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "细节理解",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 47,
         "answer": "C",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "细节理解",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 48,
         "answer": "D",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "逻辑推理",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 49,
         "answer": "B",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "逻辑推理",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      },
      {
         "qid": 50,
         "answer": "B",
         "user_answer": "",
         "is_right": 1,
         "key_tag": "主旨大意",
         "qtype": "readding",
         "d_level": 2,
         "qscore": 0,
         "uscore": 0,
         "click_time": "1447663150612"
      }
   ];
   var score = 0,total = 0;
   var list1 = [];
   for(var n = 0;n<list.length;n++){
//      var qid = list[n].qid.split("qid-")[1];
      list1.push(list[n].uscore);
      score+=parseInt(list[n].uscore);
      if(qid<=61&&list[n].is_right=="0"){
         score+=parseInt(list[n].uscore);
         total+=1;
      }
   }
   var timestamp=new Date().getTime();
//   console.log(list1);
   var count = 0;
//   alert(score+"total="+total);
   var list2= ["2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "0", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
   for(var m = 0;m<list2.length;m++){
      count = count + parseInt(list2[m]);
   }
   console.log(timestamp);
</script>